//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.mybatisplus.base;

import java.io.Serializable;
import java.security.Timestamp;
import java.util.Date;

public class BasePO implements Serializable {
    private static final long serialVersionUID = 8323302262952519240L;
    private Long id;
    private Date createTime;
    private Date updateTime;
    private String creator;
    private Long creatorId;
    private String updator;
    private Boolean deleted;
    private Long version;
    private Date ts;

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Long getId() {
        return this.id;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public String getCreator() {
        return this.creator;
    }

    public Long getCreatorId() {
        return this.creatorId;
    }

    public String getUpdator() {
        return this.updator;
    }

    public Boolean getDeleted() {
        return this.deleted;
    }

    public Long getVersion() {
        return this.version;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public BasePO(Long id, Date createTime, Date updateTime, String creator, Long creatorId, String updator, Boolean deleted, Long version) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.creator = creator;
        this.creatorId = creatorId;
        this.updator = updator;
        this.deleted = deleted;
        this.version = version;
    }

    public BasePO() {
    }

    public String toString() {
        return "BasePO(id=" + this.getId() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", creator=" + this.getCreator() + ", creatorId=" + this.getCreatorId() + ", updator=" + this.getUpdator() + ", deleted=" + this.getDeleted() + ", version=" + this.getVersion() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof BasePO)) {
            return false;
        } else {
            BasePO other = (BasePO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$updateTime = this.getUpdateTime();
                Object other$updateTime = other.getUpdateTime();
                if (this$updateTime == null) {
                    if (other$updateTime != null) {
                        return false;
                    }
                } else if (!this$updateTime.equals(other$updateTime)) {
                    return false;
                }

                String this$updator;
                String other$updator;
                label91: {
                    this$updator = this.getCreator();
                    other$updator = other.getCreator();
                    if (this$updator == null) {
                        if (other$updator == null) {
                            break label91;
                        }
                    } else if (this$updator.equals(other$updator)) {
                        break label91;
                    }

                    return false;
                }

                Object this$creatorId = this.getCreatorId();
                Object other$creatorId = other.getCreatorId();
                if (this$creatorId == null) {
                    if (other$creatorId != null) {
                        return false;
                    }
                } else if (!this$creatorId.equals(other$creatorId)) {
                    return false;
                }

                this$updator = this.getUpdator();
                other$updator = other.getUpdator();
                if (this$updator == null) {
                    if (other$updator != null) {
                        return false;
                    }
                } else if (!this$updator.equals(other$updator)) {
                    return false;
                }

                Object this$deleted = this.getDeleted();
                Object other$deleted = other.getDeleted();
                if (this$deleted == null) {
                    if (other$deleted != null) {
                        return false;
                    }
                } else if (!this$deleted.equals(other$deleted)) {
                    return false;
                }

                Object this$version = this.getVersion();
                Object other$version = other.getVersion();
                if (this$version == null) {
                    if (other$version != null) {
                        return false;
                    }
                } else if (!this$version.equals(other$version)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof BasePO;
    }


}
